SlkStore.StartAttemptOnLearnerAssignment Method

Starts an attempt on a learner assignment

Parent Type: SlkStore

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public AttemptItemIdentifier StartAttemptOnLearnerAssignment (
LearnerAssignmentItemIdentifier learnerAssignmentId

)

Parameters

learnerAssignmentId

The learner assignment

Return Value

The id of the new attempt

Exceptions
Exception type Condition
SafeToDisplayException

An error occurred that can be displayed to a browser user. Possible causes: the user isn't an instructor or learner on the learner assignment, or an attempt has already been created for the learner assignment.

Remarks

Security:  Fails if the current user doesn't have the right to create an attempt on the assignment.